home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / incoming / jstools-.6v3 / jstools- / jstools-tk3.6v3.0 / lib / jdoc / jstools / bindcompose.jdoc < prev    next >
Encoding:
Text File  |  1995-03-14  |  8.9 KB  |  125 lines

  1. {Compose Key Combinations
  2. The jstools applications have built¡in support for the use of the Compose key to generate characters that may not appear on ASCII keyboards.  The mechanism is that you press the Compose key, and then the next two characters you type, instead of being inserted separately, combine to form a different character, which is inserted.  For instance, typing Compose-/-o would insert the character `°'.  It doesn't matter what order you type the two characters in; Compose-o-/ works just as well.
  3.  
  4. Generally the characters you type to compose a character are as mnemonic as possible, but sometimes they may require a stretch of the imagination; for instance, the section symbol `º' can be typed as Compose-o-s.  (It would have been nice to support Compose-S-S for this character, but that's already taken for the German `▀' character.)
  5.  
  6. Interaction with X Servers
  7. The compose¡key combinations described here are interpreted by the jstools libraries (in particular, by the jbindtext.tcl, jbindentry.tcl, jcompose.tcl and jlatin1.tcl libraries), but you should be aware that some X displays intercept compose¡key combinations and convert them to appropriate characters before a program sees them.  If you're sitting at an X terminal that does this, then when you press Compose and then `/', the application you're typing into won't be told that you pressed any keys at all, and then when you type `o', the application will be told that you pressed the `°' key, even though you may not actually have such a key on your keyboard.  So if you discover that the compose key works slightly differently on your workstation or X terminal from what's described below, it's probably because it's being interpreted by your X display server, and the jstools libraries are never seeing it.  In that case, you should consult the documentation for your X Window System server to determine the exact compose¡key combinations available.
  8.  
  9. Another possible problem is that many keyboards don't actually have a Compose key.  The jbindtext.tcl and jbindentry.tcl libraries use the key whose X keysym is Multi_key; many keyboards don't have a key that corresponds to that keysym.  If your keyboard doesn't, and you want to use the compose¡key combinations, you can get around this by using the xmodmap(1) command to redefine some key on your keyboard as Multi_key.  For instance, if you decided that you could do without the F12 key and wanted to use it as Compose, you could issue the command
  10.     xmodmap -e "keysym F12 = Multi_key"
  11. to redefine it.  (You'd normally put this command in an X startup file so that it would be executed for you whenever you started X or logged in.)
  12.  
  13. Character Set
  14. Currently, the libraries that implement compose-key combinations are hard¡coded with the assumption that you're using the Latin 1 character set, ISO standard 8859-1, which supports (among others) the languages of Western Europe and the Americas.  In the future, I hope to support other character sets as well.  (For these characters to display properly, you'll need to be using fonts that support ISO 8859-1.  Most fonts distributed with modern X Window System implementations are approriate; you can use the command `xlsfonts -fn "*-iso8859-1"' to get a list of them.)
  15.  
  16. Compose¡Key Combinations for Latin 1
  17.   (nobreakspace):   space+space
  18. í (exclamdown):     `!'+`!'
  19. ó (cent):           `/'+`c', `c'+`|'
  20. ú (sterling):       `-'+`L', `='+`L', `L'+`L', `#'+`#'
  21. ñ (currency):       `o'+`x', `$'+`$'
  22. Ñ (yen):            `='+`Y', `-'+`Y'
  23. ª (brokenbar):      `|'+`|'
  24. º (section):        `O'+`S', `S'+`o', `o'+`s'
  25. ¿ (diaeresis):      `"'+`"'
  26. ⌐ (copyright):      `c'+`o', `O'+`c', `C'+`O'
  27. ¬ (ordfeminine):    `-'+`a', `_'+`a'
  28. ½ (guillemotleft):  `<'+`<'
  29. ¼ (notsign):        `-'+`|', `,'+`-'
  30. ¡ (hyphen):         `-'+`-'
  31. « (registered):     `o'+`r', `O'+`r', `O'+`R'
  32. » (macron):         `-'+`^', `^'+`_', `_'+`_'
  33. ░ (degree):         `o'+`o', `0'+`^', `0'+`0'
  34. ▒ (plusminus):      `+'+`-', `+'+`_'
  35. ▓ (twosuperior):    `2'+`^', `2'+`2'
  36. │ (threesuperior):  `3'+`^', `3'+`3'
  37. ┤ (acute):          `''+`'', `\'+`\'
  38. ╡ (mu):             `/'+`u', `u'+`|', `m'+`u'
  39. ╢ (paragraph):      `P'+`P'
  40. ╖ (periodcentered): `.'+`.', `*'+`+', `+'+`o', `*'+`.'
  41. ╕ (cedilla):        `,'+`,'
  42. ╣ (onesuperior):    `1'+`^', `1'+`1'
  43. ║ (masculine):      `-'+`o', `_'+`o'
  44. ╗ (guillemotright): `>'+`>'
  45. ╝ (onequarter):     `1'+`4'
  46. ╜ (onehalf):        `1'+`2'
  47. ╛ (threequarters):  `3'+`4'
  48. ┐ (questiondown):   `?'+`?'
  49. └ (Agrave):         `A'+``'
  50. ┴ (Aacute):         `''+`A'
  51. ┬ (Acircumflex):    `A'+`^'
  52. ├ (Atilde):         `A'+`~'
  53. ─ (Adiaeresis):     `"'+`A'
  54. ┼ (Aring):          `A'+`o', `A'+`O', `*'+`A', `A'+`A'
  55. ╞ (AE):             `A'+`E'
  56. ╟ (Ccedilla):       `,'+`C', `C'+`C'
  57. ╚ (Egrave):         `E'+``'
  58. ╔ (Eacute):         `''+`E'
  59. ╩ (Ecircumflex):    `E'+`^'
  60. ╦ (Ediaeresis):     `"'+`E'
  61. ╠ (Igrave):         `I'+``'
  62. ═ (Iacute):         `''+`I'
  63. ╬ (Icircumflex):    `I'+`^'
  64. ╧ (Idiaeresis):     `"'+`I'
  65. ╨ (ETH):            `D'+`H', `D'+`D',`-'+`D',`/'+`D',`''+`D' (1)
  66. ╤ (Ntilde):         `N'+`~', `N'+`N'
  67. ╥ (Ograve):         `O'+``'
  68. ╙ (Oacute):         `''+`O'
  69. ╘ (Ocircumflex):    `O'+`^'
  70. ╒ (Otilde):         `O'+`~'
  71. ╓ (Odiaeresis):     `"'+`O'
  72. ╫ (multiply):       `x'+`x', `*'+`*'
  73. ╪ (Ooblique):       `/'+`O'
  74. ┘ (Ugrave):         `U'+``'
  75. ┌ (Uacute):         `''+`U'
  76. █ (Ucircumflex):    `U'+`^'
  77. ▄ (Udiaeresis):     `"'+`U'
  78. ▌ (Yacute):         `''+`Y'
  79. ▐ (THORN):          `H'+`T', `T'+`T',`B'+`P' (1)
  80. ▀ (ssharp):         `s'+`s', `S'+`S'
  81. α (agrave):         ``'+`a'
  82. ß (aacute):         `''+`a'
  83. Γ (acircumflex):    `^'+`a'
  84. π (atilde):         `a'+`~'
  85. Σ (adiaeresis):     `"'+`a'
  86. σ (aring):          `a'+`o', `*'+`a', `a'+`a'
  87. µ (ae):             `a'+`e'
  88. τ (ccedilla):       `,'+`c', `c'+`c'
  89. Φ (egrave):         ``'+`e'
  90. Θ (eacute):         `''+`e'
  91. Ω (ecircumflex):    `^'+`e'
  92. δ (ediaeresis):     `"'+`e'
  93. ∞ (igrave):         ``'+`i'
  94. φ (iacute):         `''+`i'
  95. ε (icircumflex):    `^'+`i'
  96. ∩ (idiaeresis):     `"'+`i'
  97. ≡ (eth):            `d'+`h', `d'+`d', `/'+`d', `-'+`d', `''+`d'
  98. ± (ntilde):         `n'+`~', `n'+`n'
  99. ≥ (ograve):         ``'+`o'
  100. ≤ (oacute):         `''+`o'
  101. ⌠ (ocircumflex):    `^'+`o'
  102. ⌡ (otilde):         `o'+`~'
  103. ÷ (odiaeresis):     `"'+`o'
  104. ≈ (division):       `-'+`:', `/'+`/'
  105. ° (oslash):         `/'+`o'
  106. ∙ (ugrave):         ``'+`u'
  107. · (uacute):         `''+`u'
  108. √ (ucircumflex):    `^'+`u'
  109. ⁿ (udiaeresis):     `"'+`u'
  110. ² (yacute):         `''+`y'
  111. ■ (thorn):          `h'+`t', `b'+`p', `t'+`t'
  112.   (ydiaeresis):     `"'+`y'
  113.  
  114. Footnote
  115. (1) Combinations of one lowercase letter and one capital letter also work.
  116.  
  117. See Also
  118.     Mouse Bindings
  119.     Basic Bindings
  120.     Emacs Bindings
  121.     vi Bindings
  122.  
  123. If you're using jedit, the following may also be useful:
  124.     The Characters Sub¡Menu under The Format Menu in jedit
  125. } {{{jdoc:xref:link {2.4 2.11 7.63 7.84 7.108 7.121 7.123 7.137 7.139 7.151 7.156 7.167 65.61 65.64 79.45 79.48 118.1 118.15 119.1 119.15 120.1 120.15 121.1 121.12 124.1 124.24 124.31 124.46 124.50 124.55}} {jdoc:xref:manpage {9.351 9.358}} {jdoc:anchor:anchorname {115.0 115.3}} {richtext:font:roman {2.0 2.4 2.11 2.66 2.73 2.178 2.185 2.352 2.363 2.392 2.393 2.458 2.469 4.200 4.211 4.250 4.261 6.0 7.0 7.67 7.74 7.108 7.121 7.123 7.137 7.139 7.151 7.156 7.167 7.403 7.410 7.421 7.422 7.532 7.533 7.587 7.588 7.872 7.879 9.63 9.67 9.70 9.77 9.88 9.101 9.106 9.120 9.161 9.170 9.351 9.358 9.411 9.420 9.482 9.485 9.514 9.521 10.0 11.0 13.0 14.0 14.518 14.544 16.0 113.0 114.0 115.0 117.0 118.0 118.1 118.15 119.1 120.0 120.1 120.15 121.1 121.12 123.16 123.21 124.1 124.24 124.31 124.46 124.50 124.55 125.0}} {richtext:font:italic {9.63 9.67}} {richtext:font:bold {2.4 2.11 2.66 2.73 2.178 2.185 2.352 2.363 2.458 2.469 4.200 4.211 4.250 4.261 7.67 7.74 7.108 7.121 7.123 7.137 7.139 7.151 7.156 7.167 7.403 7.410 7.421 7.422 7.532 7.533 7.872 7.879 9.70 9.77 9.88 9.101 9.106 9.120 9.482 9.485 9.514 9.521 119.15 120.0}} {richtext:font:bolditalic {118.1 118.15 119.1 119.15 120.1 120.15 121.1 121.12 124.1 124.24 124.31 124.46}} {richtext:font:typewriter {2.392 2.393 7.587 7.588 9.161 9.170 9.351 9.358 9.411 9.420 10.0 11.0 14.518 14.544 17.0 113.0 123.16 123.21 124.50 124.55}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {6.0 7.0 13.0 14.0 16.0 17.0 114.0 115.0 117.0 118.0}} {jdoc:link:jstools/bindemacs.jdoc {120.1 120.15}} {jdoc:link:jstools/bindvi.jdoc {121.1 121.12}} {jdoc:anchorname:(1) {115.0 115.3}} {jdoc:link:#(1) {65.61 65.64 79.45 79.48}} {jdoc:link:jstools.jdoc {2.4 2.11}} {jdoc:link:jslibraries.jdoc {7.63 7.84}} {jdoc:link:jcompose.tcl.jdoc {7.139 7.151}} {jdoc:link:jlatin1.tcl.jdoc {7.156 7.167}} {jdoc:link:jbindentry.tcl.jdoc {7.123 7.137}} {jdoc:link:jbindtext.tcl.jdoc {7.108 7.121}} {jdoc:manpage:xmodmap {9.351 9.358}} {jdoc:link:jstools/bindbasic.jdoc {119.1 119.15}} {jdoc:link:jedit.jdoc {124.50 124.55}} {jdoc:link:jedit.jdoc#The_Format_Menu {124.31 124.46}} {jdoc:link:jedit.jdoc#Characters {124.1 124.24}} {jdoc:link:jstools/bindmouse.jdoc {118.1 118.15}}} {{richptr 114.0} {matchend 114.0} {abbrevstart 124.47} {abbrevend 125.0} {insert 1.0} {matchstart 114.0} {anchor 125.0} {current 20.54}}}